#include <stdlib.h>
#include <stdio.h>
#include <SDL/sdl.h>
#include "tile.h"
#include "image.h"


Data Structures | |
| struct | t_map |
Functions | |
| bool | map_load_level (map *p_map, char *full_path) |
| load a map file into the raw_data | |
| bool | map_draw (map *p_map, SDL_Surface *destination) |
| draw a map | |
| bool map_draw | ( | map * | p_map, | |
| SDL_Surface * | destination | |||
| ) |
draw a map
| [in] | map | to draw |
| [in,out] | surface | where to draw |
| bool map_load_level | ( | map * | p_map, | |
| char * | full_path | |||
| ) |
load a map file into the raw_data
| [in] | full_path | path of the map file to load |
1.5.4